Calendar for WinForms | ComponentOne
C1.Framework.Mathematics Namespace / Vector<T> Class / Unary Negation Operator
A Vector indicates the operand.

In This Topic
    Unary Negation Operator (Vector<T>)
    In This Topic
    Defines the unary - operator for vector.
    Syntax
    'Declaration
     
    
    Public Operator -( _
       ByVal value As Vector(Of T) _
    ) As Vector(Of T)
    public Vector<T> operator -( 
       Vector<T> value
    )

    Parameters

    value
    A Vector indicates the operand.

    Return Value

    A Vector that is the unary minus result of the operands.
    Remarks
    -(n1, n2, n3) = (-n1, -n2, -n3)
    See Also